<script type="text/javascript">
	if (typeof(TrainingSynthesis) != 'function'){
		var arr = <?= ($this->arrJsCss != '')?$this->arrJsCss:"''"?>;			
		loadfileJsCss(arr);
	}		
</script>
	<div class = "load_data_form_index">
		<form action="index" method="POST" id="synthesisFrm" name="synthesisFrm" autocomplete="off">
			<div id="form-contents">
				<?php
					echo $this->formHidden("hdn_current_page",$this->iCurrentPage,null);
					echo $this->formHidden("hdn_record_number_page",$this->iNumberRecordPerPage,null);
				?>
				<div class="form-update info_general" style="margin-left:3px;">
					<div class="normal_title"><?=$this->titleBody;?></div>
					<div class="search-container info_general">
						<table id="table-search" >
							<col width="10%"></col><col width="15%"></col><col width="10%"></col><col width="15%"></col><col width="15%"></col><col width="25%"></col><col width="10%"></col>
							<tr>
								<td><label class="normal_label">Từ ngày</label></td>
								<td><input type="text" class="normal_textbox" onkeyup="DateOnkeyup(this,event)"  id = "fromDate" name = "fromDate" date="isdate" option="false" message="Ngày thực hiện không đúng định dạng ngày/tháng/năm"></td>
								<td><label class="normal_label" style="padding-left:10px;">Đến ngày</label></td>
								<td><input type="text" class="normal_textbox" onkeyup="DateOnkeyup(this,event)"  id = "toDate" name = "toDate" date="isdate" option="false" message="Ngày thực hiện không đúng định dạng ngày/tháng/năm"></td>
								<td><label class="normal_label" style="padding-left:10px;">Chọn cán bộ</label></td>
								<td>
									<select data-placeholder=" " name ="staffId" id ="staffId" style="width:90%;" class="chzn-select" tabindex="2">
									<option value="" selected="selected">---Chọn cán bộ---</option>
									<?php 	
										echo Efy_Library::_generateSelectOption($this->arrStaff,'id','id','name','');
									?>
									</select>
								</td>
								<td style="padding-left:20px;"><input type = "button" style="width:70%;padding-left:10px;" value = "Tìm kiếm" class = "link-button search" id = "search"></td>
						</table>
					</div>
					<div align="right" class="button-link-container">
						<div class="blc-left">
							<input type="radio" id="0" name="status" value="0"/><label for="0">Tất cả</label>
							<input type="radio" id="1" name="status" value="1"/><label for="1">Đã lập bài giảng</label>
							<input type="radio" id="2" name="status" value="2"/><label for="2">Chưa lập bài giảng</label>
						</div>
						<div class="blc-right">
							<div style="width: 100%;text-align: center">
								<input class = "link-button clprintf" type="button" value="Kết xuất"/>
							</div>
						</div>
					</div>
				</div>
				<div style="clear:both;"></div>
				<div style="margin-left:3px;" id = "table-content"></div>
				<!--Hien thi trang can xem!-->
				<table class="table-page-number" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class = "left-col small_label" valign="top">
							<small class="small_starmark" id = "sdocpertotal"></small>
						</td>
						<td class = "center-col" align="center" id = "generateStringNumberPage"></td>
						<td class = "right-col normal_label" id = "generateHtmlSelectBoxPage">Hiển thị <select class='textbox' id = 'cbo_nuber_record_page' name='cbo_nuber_record_page' optional='true' style='width:60'><?php 
							echo Efy_Library::_generateSelectOption($this->arrListItem, 'C_CODE', 'C_CODE', 'C_NAME', $this->arrListItem[2]['C_CODE']);
						?></select>Hồ sơ/1 trang</td>
					</tr>
				</table>
			</div>
		</form>
	</div>
<script type="text/javascript">
	$(".chzn-select").chosen();
	jQuery(document).ready(function($) {
		lddadepicker();
		baseUrl = '<?=$this->baseUrl();?>';
		objXml = baseUrl+'/xml/view/training/synthesis.xml';
		var objXmlTemp = '';
		if(typeof(myTrainingSynthesis) === 'undefined'){						
			myTrainingSynthesis = new TrainingSynthesis(baseUrl,'mtl','training','indexsynthesis',objXml,objXmlTemp);			
		}else{	
			objXmlTemp = myTrainingSynthesis.xmlDataSynthesis;		
			myTrainingSynthesis = new TrainingSynthesis(baseUrl,'mtl','training','indexsynthesis',objXml,objXmlTemp);
		}			
		myTrainingSynthesis.ldmodsynthesis();	
		urlPath = myTrainingSynthesis.urlPath;	
		fixTitle();		
	});	
</script>
<style>
.ui-widget-header {
		background: none;
		background-color: #3774B7;
		border-bottom: 1px solid #BCCDDD;
		border-color: #BCCDDD;
		box-shadow: 0 0 2px rgba(0, 0, 0, 0.52);
		font-family: Arial,Helvetica,sans-serif;
		text-align: center;
		font-size: 11px;
		font-weight: bold;
		color: #FFF701;
		line-height: 20px;
		padding: 0 1px !important;
	}
</style>